package com.biz.primus.ms.promotion.dao.ro;

import com.biz.primus.base.redis.annotation.Ro;
import com.biz.primus.base.redis.bean.BaseRedisObject;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 活动项Ro
 *
 * @author david-liu
 */
@Ro(key = "pmt:act_item")
@Getter
@Setter
public class ActivityItemRo extends BaseRedisObject<Long> {
    private static final long serialVersionUID = 893823658783351413L;

    /**
     * 活动ID
     */
    private Long activityId;

    /**
     * 活动项名称
     */
    private String name;

    /**
     * 活动项描述
     */
    private String description;

    /**
     * 活动项图片
     */
    private String logo;

    /**
     * 活动项链接
     */
    private String url;

    /**
     * 活动项状态
     */
    private Integer status;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
    }
}
